export function handleErrorAvatar(event:Event){
  const imgError = event.target as HTMLImageElement
  imgError.src= require('@/assets/user/avatar.jpg')
}

export function handleErrorFriendAvatar(event:Event) {
  const imgError = event.target as HTMLImageElement
  imgError.src=require('@/assets/user/cravatar.png')
}

export function handleArticleCardErrorImage(event:Event) {
  const imgError = event.target as HTMLImageElement
  imgError.src= require('@/assets/default-cover.jpg')
}
